<!DOCTYPE html PUBLIC '-//W3C//DTD HTML 4.01 Strict//EN' 'http://www.w3.org/TR/html4/strict.dtd'>
<html>
<head>
<meta http-equiv='Content-Type' content='text/html; charset=UTF-8'>
<title>$.post $.get $.ajax</title>
<script src="jquery.js"></script>
<style type="text/css">
  .load{width:500px;height:300px;border:1px solid #abcdef;}
</style>
</head>
<body>
  <input type="button" value="加载">
  <div class="load"></div>
  <script type="text/javascript">
     $('input[type=button]').click(function(){
    	 $.get('test.txt?data='+Math.random(),function(data){
    		 $('.load').html(data);
    	 });
     });
  </script>

</body>
</html>